<div class="BrandDetailWrap">
<div class="branddetail">
  <table width="100%" cellpadding="0" cellspacing="3" class="brandtitle">
    <tr>
      <td width="80"><{if $data.brand_logo}> <img src="<{$data.brand_logo|storager}>"> <{/if}> </td>
      <td class="pr40"><div class="info">
          <h1><{$data.brand_name}></h1>
          <{t}>官方站点:<{/t}><a href="<{$data.brand_url}>" target="_blank"><{$data.brand_url}></a> </div></td>
    </tr>
  </table>
</div>
<div class="GoodsSearchWrap">
<{if $searchtotal}>
<p class="search_total">
  <!--<span class="flt"><{t}>首页 > 所有商品 > 品牌女装 > 女装T恤<{/t}></span>-->
 <{t}>总共找到<{/t}><span class="font-orange"><{$searchtotal}></span><{t}>个商品<{/t}>
</p>
<{/if}>
<div class="title clearfix lh25" id='gallerybar' >
 

</div>

<div class="intro uarea-output p5"> <{$data.brand_desc}> </div>
<div class="GoodsSearchWrap"> <{include file=$brandview}> </div>
<div class='clearfix' style="clear:both;"> <{pager data=$pager}> </div>

</div>
</div>
<!--center>
<{if $count>20}>
<a href="<{$link}>" title="全部 <{$data.brand_name}> 商品"><{t}>查看更多 <{/t}><{$data.brand_name}><{t}> 商品 共<{/t}><{$count}><{t}>件...<{/t}></a>
<{else}>
已显示所有<{$count}>件 <{$data.brand_name}> 商品</>
<{/if}></center-->
<script>
window.addEvent('domready', function(){
	new DataLazyLoad({lazyDataType:'img',img:'lazyload'});
try{
/*关键字高亮*/
(function(replace_str){
    var replace=replace_str.split("+");
    if(replace.length){
      $$('.entry-title').each(function(r){
        for(i=0;i<replace.length;i++){
          if(replace[i]){
            var reg=new RegExp("("+replace[i].escapeRegExp()+")","gi");
            r.set('text',r.get('text').replace(reg,function(){
              return "{0}"+arguments[1]+"{1}";
            }));
          }
        }
        r.set('html',r.get('text').format("<span style='color:red'>","</span>"));
      });
    }
  })('<{$search_array}>');
}catch(e){}
var gallerybar = $('gallerybar');
var gallerybarSize = gallerybar.getSize();
var gallerybarPos  = gallerybar.getPosition();
var fixedStart = gallerybarSize.y+gallerybarPos.y;

var fixGalleryBar = function(){
    if(fixedStart<this.getScrollTop()){
     if(Browser.ie6) {gallerybar.setStyles({'width':gallerybarSize.x,'position':'absolute','top':this.getScrollTop(),'border':'1px solid #000'})}
     else{gallerybar.addClass('fixed').setStyles({'width':gallerybarSize.x})}
    }else{
     if(Browser.ie6) {gallerybar.setStyles({'position':'fixed','border':'0px'})};
         gallerybar.removeClass('fixed').setStyles({'width':'auto'});
    }
};

window.addEvents({
   'resize':fixGalleryBar,
   'scroll':fixGalleryBar
});


});


</script>
<!--<{script src='goodscupcake.js' app='b2c'}>-->